package cn.itcast.zt.java8.model.state;

/**
 * 订单状态处理超类
 * create by zhangtian105 on 2021/9/15
 */
public interface OrderState {
    /**
     * 原来状态
     * @param newOrder 新订单
     * @param oldOrder 老订单
     */
    void handle(Order newOrder, Order oldOrder) ;
}
